package entity

type MainConfig struct {
	Master    *MasterCmdConfig `yaml:"master"`
	CustomCmd *CustomCmdConfig `yaml:"custom_cmd"`
	Ps1       *PS1Config       `yaml:"ps1"`
}

type FieldInterface interface {
	Compare(obj FieldInterface) FieldInterface
}

var DefaultGlobalConfig = &MainConfig{
	Master: &MasterCmdConfig{
		Task: "help",
	},
	CustomCmd: &CustomCmdConfig{
		CmdName: "custom",
		Task:    "help",
	},
}
